<script type="text/html" id="module-name">form/passwordChangeForm</script>
<form role="form" class="form-signin js_password_reset" action="/guser/resetPassword" method="post">
	<h2 class="form-signin-heading">Please enter password</h2>
	<?php if(isset($result) && $result === 'failure') {?>
		<p class="alert alert-danger">Sorry! There is some temporary problem in server.
		 <br />
		 <br />
		 <a href="/guser/signupGet" >Signup</a>
		</p> 
    <?php }?>
    
	<input type="password" autofocus="" required="" name="password" 
		placeholder="Password" class="form-control js_pass"> 
	<input type="password" autofocus="" required="" name="cpassword"
		placeholder="Confirm password" class="form-control js_pass_conf"> 
			
	<div class="alert alert-danger js_cpasswordError" role="alert" 
				style="display: none">Passwords do not match.</div>	
				
	<button style="margin-top:20px;" type="submit" class="btn btn-md btn-primary js_submit">Submit</button>	
</form>

<?php
$env = getenv('APP_ENV') ?: 'production';
if($env != 'production') {
    echo '<script data-main="/js/app" src="/js/lib/require.js"></script>';
}
?>